'''
Created on 04/03/2009

@author: eh01
'''

class DAOHelper():
    '''
    classdocs
    '''

    def copyQueryResultsToList(self, query):
        """ copies the result of a query to a list. This method is used
            the result of a query as a query is not executed until results 
            are accessed (i.e. iterated over). """
        results = []
        for result in query:
            results.append(result)
        return results    
        